<template>
  <main>
    <div class="title">教师团队</div>
    <el-row :gutter="20">
      <el-col :span="5"
        ><div class="grid-content bg-purple">
          <h2>教师团队</h2>
          <input type="text" placeholder="请输入" /></div
      ></el-col>
      <el-col :span="5"
        ><div class="grid-content bg-purple">
          <h2>教师团队</h2>
          <input type="text" placeholder="请输入" /></div
      ></el-col>
      <el-col :span="5"
        ><div class="grid-content bg-purple">
          <h2>教师团队</h2>
          <input type="text" placeholder="请输入" /></div
      ></el-col>
      <el-col :span="5"
        ><div class="grid-content bg-purple">
          <h2>教师团队</h2>
          <input type="text" placeholder="请输入" /></div
      ></el-col>
      <el-col :span="4"
        ><div class="grid-content bg-purple">
          <button class="one">查询</button>
          <button class="two">新建</button>
        </div></el-col
      >
    </el-row>
    <el-row :gutter="10">
      <el-col :span="8" v-for="(item, index) in 9" :key="index"
        ><div class="grid-content1 bg-purple">
          <div class="title">刘苗苗老师团队（日系漫画）</div>
          <div class="midden">
            <ul>
              <li>
                <span>5</span>
                <span>教师团队</span>
              </li>
              <li>
                <span>4</span>
                <span>教师团队</span>
              </li>
              <li>
                <span>3</span>
                <span>教师团队</span>
              </li>
              <li>
                <span>2</span>
                <span>教师团队</span>
              </li>
            </ul>
            <p>
              团队简介:刘苗苗老师团队主要负责日系漫画线上教学，其中包括基础
              教学，中级进阶教学以及日系漫画高级教学。
            </p>
          </div>
          <div class="bottom">
            <li>编辑项目</li>
            <li>更多操作</li>
          </div>
        </div></el-col
      >
    </el-row>
  </main>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
@import "../../../assets/css/var.less";
main {
  background: #fff;
}
.grid-content {
  border-radius: 4px;
  min-height: 25px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
  background: #fff;
  input {
    width: 130px;
    height: 16px;
    background: #d3dce6;
    border: none;
    border-radius: 4px;
  }
  button {
    width: 80px;
    height: 16px;
    border-radius: 4px;
  }
  .one {
    border-color: @theme1-color;
    color: blue;
  }
  .two {
    background: @theme1-color;
    color: #fff;
  }
}
.grid-content1 {
  border-radius: 4px;
  min-height: 180px;
  margin-top: 10px;
  border: 3px solid #d3dce6;
  .title {
    width: 100%;
    height: 40px;
    background: @theme1-color;
    .center();
    font-size: @xs-font;
    color: #fff;
  }
  .midden {
    padding: 0 30px;
    ul {
      display: flex;
      width: 100%;
      li {
        .center();
        flex-direction: column;
        flex: 1;
        height: 70px;
        span {
          font-size: @xs-font;
          color: #999999;
        }
      }
    }
  }
  .bottom {
    display: flex;
    margin-top: 20px;
    width: 100%;
    height: 40px;
    background: #d3dce6;
    padding: 2px 0;
    justify-content: space-between;
    li {
      background: #fff;
      .center();
      width: 49.5%;
      &:last-of-type {
        color: @theme1-color;
      }
    }
  }
}
.bg-purple {
  background: #fff;
}
.title {
  width: 100%;
  height: 40px;
  line-height: 40px;
  font-weight: 800;
  font-size: 16px;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
}
</style>
